﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using BCGC.BLL.Helper;
using Jalal.Library.Utility;
using System.Collections.Generic;
using System.Drawing;
using BCGC.BLL.BusinessObject.Poll;

public partial class _Default : PublicBasePage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        //string s = Polling.GetCurrentPoll();
        //string y = CustomSiteMap.Home;
        //string x = CustomSiteMap.Home;
        PollQuestion question = new PollQuestion();
    }

    protected void Action_Click(object sender, EventArgs e)
    {
        if (uccImageUploader.HasFile)
        {
            List<Size> sizes = new List<Size>();
            sizes.Add(new Size(150, 0));
            sizes.Add(new Size(100, 60));
            sizes.Add(new Size(80, 40));
            uccImageUploader.Sizes = sizes;
            List<string> images = uccImageUploader.UploadImage();
        }
    }
}
